<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field name='title'/} - powered by dedecms</title>
<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}">
<link href="{dede:field name='templeturl'/}/style/dede.css" rel="stylesheet" type="text/css" />
<link href="{dede:field name='templeturl'/}/style/picture.css" rel="stylesheet" type="text/css" />
<script language='javascript'>
	var npage = {dede:field name='nowpage'/};
	var totalpage = {dede:field name='totalpage'/};
	var namehand = '{dede:field name='namehand'/}';
	var displaytype = '{dede:field name='displaytype'/}';
	var gtimer = null;
	//大图
	function dPlayBig(){
		var imgObj = document.getElementById("bigimg"+npage);
		window.open(imgObj.src);
	}
	//停止幻灯
	function dStopPlay(){
		if(gtimer) clearTimeout(gtimer);
		else dPlayNext();
	}
	//开始幻灯
	function dStartPlay(){
		if(npage!=totalpage){
			gtimer = setTimeout("dPlayNext()",10000);
		}
	}
	
	//上一张
		function dPlayPre(){


		if(npage<2){
			alert("这是第一页");
		}else{

			if(npage==2){
				if(namehand!='') location.href = namehand+".html";
				else location.href = "view.php?aid={dede:field name='id'/}";
			}else if(displaytype=='st' && namehand!=''){
				location.href = namehand+"_"+(npage-1)+".html";
			}else{
				location.href = "view.php?aid={dede:field name='id'/}&pageno="+(npage-1);
			}
		}
	}

	//下一张
	function dPlayNext(){
		if(npage==totalpage){ alert("没有了哦"); }
		else{
			if(displaytype=='st' && namehand!='') location.href = namehand+"_"+(npage+1)+".html";
			else location.href = "view.php?aid={dede:field name='id'/}&pageno="+(npage+1);
		}
	}
	/*
	window.onload=function (){	
	  maxwidth=500;
	  imgid = document.getElementById("ddmjj");
	  imgid.width = (imgid.width>maxwidth ? maxwidth : imgid.width);
  }
  */
</script>
</head>
<body>

<!--头部开始-->
<div class="top cbody">
	<div class="toplogo"><a href="{dede:global name='cfg_basehost'/}"><img src="{dede:field name='templeturl'/}/images/toplogo.gif" width="200" height="60" alt="{dede:global name='cfg_webname'/}" /></a></div>
	<div class="topbanner"><script language="javascript" type="text/javascript" src="{dede:global name='cfg_cmspath'/}/top.js"></script></div>
	<div class="toplink">		<ul>
			<li><a href="{dede:field name='phpurl'/}/heightsearch.php">高级搜索</a></li>
			<li><a href='#' onClick="javascript:window.external.AddFavorite('{dede:global name="cfg_basehost"/}','{dede:global name="cfg_webname"/}');">收藏本站</a></li>
			<li><a href="{dede:field name='phpurl'/}/sitemap.html">网站地图</a> </li>
		  <li><a href="{dede:field name='phpurl'/}/rssmap.html">RSS订阅</a></li>
		</ul>
	</div>
</div>
<!--导航栏-->
<div class="topmenu cbody">	<ul>
		<li><a href="/">首页</a></li>
        {dede:channel type='top' row='8' currentstyle="<li><a href='~typelink~' class='thisclass'>~typename~</a> </li>"}<li><a href='[field:typelink/]'>[field:typename/]</a> </li>
        {/dede:channel}
		<li><a href='{dede:field name='specurl'}{/dede:field}/index.php'>专题</a></li>
	</ul>
	<div class="rssbut">		<a href="{dede:field name='phpurl'/}/rssmap.html"><img src="{dede:field name='templeturl'/}/images/rss_button.gif" alt="RSS" /></a>
	</div>
</div>
<!--搜索条-->
<div class="topsearch cbody">
	<div class="title"></div>
	<div class="inpbox">    <form action="{dede:field name='phpurl'/}/search.php" name="formsearch">
		<input type="hidden" name="kwtype" value="1">
		<input name="keyword" id="keyword" type="text" class="searchtxt" />
		<select name="searchtype" id="searchtype">
			<option value="titlekeyword" selected>智能模糊搜索</option>
			<option value="title">仅搜索标题</option>
		</select>
		<input type="image" src="{dede:field name='templeturl'/}/images/topsearch_submit.gif" />
    </form>
	</div>
	<div class="hots">		<strong>热门关键字：</strong>
		{dede:hotwords num='5' subday='30'/}</div>
</div>
<!--内容-->
<div class="main cbody margintop">
	<!--左侧-->
	<div class="pleft">
		<!--位置导航-->
		<div class="thisplace">
			<div class="placenav">
				<span>当前位置 :</span>
				{dede:field name='position'/}
			</div>
		</div>

		<!--标题-->
		<div class="ctitle margintop">{dede:field name='title'/}</div>

		<!--列表-->
		<div class="pbox margintop">
			{dede:field name='imgurls' /}
		</div>

		<!--分页-->
		<div class="pages">
			<div class="plist">
				{dede:pagebreak/}
			</div>
		</div>
	</div>

	<!--右侧-->
	<div class="pright">
		<!--图集信息-->
		<div class="hotlist margintop">
			<div class="htitle">图集信息</div>
			<div class="hbox" id="imgbox">
				<dl>
					<dt><img src="{dede:field name='templeturl'/}/images/ico_15.gif" />{dede:field name='title'/}</dt>
				  <dd><span>浏览数：</span><script src="{dede:field name='phpurl'/}/count.php?aid={dede:field name='ID'/}&mid={dede:field name='memberid'/}&view=yes" language="javascript"></script></dd>
					<dd><span>说明：</span>{dede:field name='description'/}</dd>
					<dd><span>更新日期：</span>{dede:field name='pubdate' function='GetDateMk(@me)'/}</dd>
					<dd><span>Tag：</span>{dede:tag type='current'/}</dd>                 	
                    <dd>【<a href="{dede:field name='phpurl'/}/stow.php?arcID={dede:field name=ID/}">收藏</a>】&nbsp;【<a href="{dede:field name='phpurl'/}/recommend.php?arcID={dede:field name=ID/}">推荐</a>】&nbsp;【<a href="{dede:field name='phpurl'/}/feedback.php?arcID={dede:field name='id'/}">评论</a>】</dd>
				</dl>
			</div>
		</div> 

		<!--热门图片-->
		<div class="hotlist margintop">
			<div class="htitle">热点图集</div>
			<div class="hbox" id="imgbox">
				<ul>
					{dede:arclist row=10 titlelen=20 orderby=click type='image.'}
					  <li><a href="[field:arcurl/]"><span class="link">[field:title/]</span></a></li>
					{/dede:arclist}
				</ul>
			</div>
		</div>

	</div>

	<div class="floatclear"><!--清除浮动--></div>
</div>


<div class="footer cbody margintop">
		<div class="copyright"> 
                <div style="font-size:12px">{dede:global name='cfg_powerby'/}
                <a href="http://www.miibeian.gov.cn/">{dede:global name='cfg_beian'/}</a>              
            </div> 
  		Powered by <a href="http://www.dedecms.com/">DedeCms {dede:global name='cfg_version'/}</a> &copy; 2004-2008  <a href="http://www.desdev.cn/">DesDev Inc.</a><br />
        </div>
	
</div>


</body>
</html>
